package com.ruoyi.stock.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 异动记录对象 qw_abnormalaction
 * 
 * @author ruoyi
 * @date 2023-08-16
 */
public class QwAbnormalaction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long abnormalactionId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 是否异动 */
    @Excel(name = "是否异动")
    private Long isAbnormalaction;

    /** 股票号码 */
    @Excel(name = "股票号码")
    private String stockNum;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 波动范围 */
    @Excel(name = "波动范围")
    private Long upDownRange;

    public void setAbnormalactionId(Long abnormalactionId) 
    {
        this.abnormalactionId = abnormalactionId;
    }

    public Long getAbnormalactionId() 
    {
        return abnormalactionId;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setIsAbnormalaction(Long isAbnormalaction) 
    {
        this.isAbnormalaction = isAbnormalaction;
    }

    public Long getIsAbnormalaction() 
    {
        return isAbnormalaction;
    }
    public void setStockNum(String stockNum) 
    {
        this.stockNum = stockNum;
    }

    public String getStockNum() 
    {
        return stockNum;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setUpDownRange(Long upDownRange) 
    {
        this.upDownRange = upDownRange;
    }

    public Long getUpDownRange() 
    {
        return upDownRange;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("abnormalactionId", getAbnormalactionId())
            .append("date", getDate())
            .append("isAbnormalaction", getIsAbnormalaction())
            .append("stockNum", getStockNum())
            .append("time", getTime())
            .append("upDownRange", getUpDownRange())
            .toString();
    }
}
